package com.qzsoft.zhjd.server.modules.asphalt.service.impl;

import java.util.List;

import com.qzsoft.zhjd.server.modules.asphalt.service.CollectAsphaltMatchHotService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;

import com.qzsoft.zhjd.server.modules.asphalt.entity.CollectAsphaltMatchHotEntity;
import com.qzsoft.zhjd.server.modules.asphalt.mapper.CollectAsphaltMatchHotMapper;

/**
 * @ClassName AsphaltMatchHotServiceImpl
 * @Description 热料配置业务接口实现
 * @author linhuawei
 * @since 2022-02-09
 */
@Service
public class CollectAsphaltMatchHotServiceImpl implements CollectAsphaltMatchHotService {

    @Autowired
    private CollectAsphaltMatchHotMapper collectAsphaltMatchHotMapper;

    @Override
    public List<CollectAsphaltMatchHotEntity> listByMatchId(String matchId) {
        QueryWrapper<CollectAsphaltMatchHotEntity> queryWrapper = new QueryWrapper<CollectAsphaltMatchHotEntity>();
        queryWrapper.eq("match_id", matchId);
        return collectAsphaltMatchHotMapper.selectList(queryWrapper);
    }


}
